package com.xyht.sca_s.student_manage_system.modules.user.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.user.entity.SmsApplication;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.user.entity.SmsApplicationClick;
import com.xyht.sca_s.student_manage_system.modules.user.entity.SmsApplicationCollection;
import com.xyht.sca_s.student_manage_system.modules.user.entity.SmsApplicationPoint;
import com.xyht.sca_s.student_manage_system.modules.user.entity.req.SmsApplicationUpdateReq;

/**
 * <p>
 * 界面应用 服务类
 * </p>
 *
 * @author XYHT
 * @since 2022-12-24
 */
public interface SmsApplicationService extends IService<SmsApplication> {
    ResponseResult getAppList(Integer app_client,String search_str,String type_id);
    ResponseResult userUseGetAppList(String user_id,Integer app_client,Integer is_collection,String search_str);
    ResponseResult updateApp(SmsApplicationUpdateReq smsApplicationUpdateReq);
    ResponseResult addApp(SmsApplicationUpdateReq smsApplicationUpdateReq);

    ResponseResult appCollection(String user_id, SmsApplicationCollection smsApplicationCollection);
    ResponseResult appCollectionCancel(String user_id,SmsApplicationCollection smsApplicationCollection);

    ResponseResult appClick(String user_id , SmsApplicationClick smsApplicationClick);

    ResponseResult appPoint(String user_id, SmsApplicationPoint smsApplicationPoint);
}
